Incremental Machine Descriptions for GCC

نویسندگان

  • Sameera Deshpande
  • Uday P. Khedker
چکیده

The mechanism of providing machine descriptions to the GCC framework has been quite successful as demonstrated by a wide variety of the targets for which a GCC port exists. However, this mechanism is quite ad hoc and the machine descriptions are difficult to construct, understand, maintain, and enhance because of the verbosity, the amount of details, and the repetitiveness. The publicly available material fails to bring out the exact abstractions captured by the machine descriptions. There is no systematic way of constructing machine descriptions and there are no clear guidelines on where to begin developing machine description and how to construct them systematically. This paper proposes a methodology based on incremental construction of machine descriptions starting from a well defined minimal machine description. We illustrate the process by constructing machine descriptions with the spim simulator for MIPS architecture as the target.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

specRTL: A Language for GCC Machine Descriptions

The mechanism of GCC machine descriptions has been quite successful as demonstrated by a wide variety of targets for which GCC ports exist. However, this mechanism is quite ad hoc and the machine descriptions are difficult to read, construct, maintain, and enhance because of the verbosity, repetitiveness, and the amount of details. We propose a language called specRTL which provides a compositi...

متن کامل

Converting Intermediate Code to Assembly Code Using Declarative Machine Descriptions

Writing an optimizing back end is expensive, in part because it requires mastery of both a target machine and a compiler’s internals. We separate these concerns by isolating target-machine knowledge in declarative machine descriptions. We then analyze these descriptions to automatically generate machinespecific components of the back end. In this work, we generate a recognizer; this component, ...

متن کامل

A Learning-Based Evolution of Concept Descriptions for an Adaptive Object Recognition

A new approach is presented to the invariant recognition of objects under dynamic perceptual conditions. In this approach, images of a sequence are used to. adapt object descriptions to perceived on-line variabilities of object characteristics. This adaptation is made possible by the close-loop integration of recognition processes of computer vision together with an incremental machine learning...

متن کامل

Dynamic Optimization Option Search in GCC

A set of carefully selected compiler optimization options could provide an additional performance boost over the current best default optimization options in the GNU Compiler Collection (GCC) C compiler. However, there are more than 60 optimization options in GCC compiler, which translate to over 260 possible combinations. GCC compiler developers are therefore faced with a challenge. The goal i...

متن کامل

A Maintenance Programmer’s View of GCC

GCC is considered more difficult to modify or debug than other programs of similar size. This paper will investigate the reasons for this difficulty, from the point of view of a maintenance programmer: someone producing a small patch to fix a bug or implement a feature, without causing new problems for unrelated use. Because the development tree’s head is expected to be functional at all times,...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007